function MaxAbsVal=SubFun_MaxAbsVal(X)

[~,Idx]     =   max(abs(X));
MaxAbsVal   =   X(Idx);